package com.library.bean;

import java.util.Date;

public class Book {
	
	private int bookId;
	
	private String bookName;
	
	private String  bookType;
	
	private String bookWriter;
	
	private double bookPrice;
	
	private Date pubDate;
	
	private String bookCover;

	public String getBookCover() {
		return bookCover;
	}

	public void setBookCover(String bookCover) {
		this.bookCover = bookCover;
	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getBookType() {
		return bookType;
	}

	public void setBookType(String bookType) {
		this.bookType = bookType;
	}

	public String getBookWriter() {
		return bookWriter;
	}

	public void setBookWriter(String bookWriter) {
		this.bookWriter = bookWriter;
	}

	public double getBookPrice() {
		return bookPrice;
	}

	public void setBookPrice(double bookPrice) {
		this.bookPrice = bookPrice;
	}

	public Date getPubDate() {
		return pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	

	@Override
	public String toString() {
		return "Book [bookId=" + bookId + ", bookName=" + bookName + ", bookType=" + bookType + ", bookWriter="
				+ bookWriter + ", bookPrice=" + bookPrice + ", pubDate=" + pubDate + ", bookCover=" + bookCover + "]";
	}

	public Book(String bookName, String bookType, String bookWriter, double bookPrice, Date pubDate) {
		super();
		this.bookName = bookName;
		this.bookType = bookType;
		this.bookWriter = bookWriter;
		this.bookPrice = bookPrice;
		this.pubDate = pubDate;
	}

	
	public Book(String bookName, String bookType, String bookWriter, double bookPrice, Date pubDate, String bookCover) {
		super();
		this.bookName = bookName;
		this.bookType = bookType;
		this.bookWriter = bookWriter;
		this.bookPrice = bookPrice;
		this.pubDate = pubDate;
		this.bookCover = bookCover;
	}

	public Book() {
		super();
	}
	
	
	
}
